package Day11.interface07;

public class Dog extends Animal implements JD{
    @Override
    public void eat() {
        System.out.println("吃骨头");
    }

    @Override
    public void voice() {
        System.out.println("汪汪");
    }

    //@Override
    //public void jd() {
    //    System.out.println("利用嗅觉缉毒");
    //}
}
